package com.movie.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@TableName("movies")
public class Movie {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String originalTitle;
    private String director;
    private String cast;
    private String genres;
    @TableField("image_url")
    private String imageUrl;
    private BigDecimal averageRating;
    private Integer wishCount;
    private String summary;
    private String releaseDate;
    private Timestamp createdAt;
    private Timestamp updatedAt;
} 